package edu.xidian.onlinedocument.utils.ot.json;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
@AllArgsConstructor
public class ChangesListJSON {
    private String userNum;
    private int revision;
    private List<ChangeJSON> changeList;

    public ChangesListJSON(int revision, List<ChangeJSON> changeList) {
        this.userNum = null;
        this.revision = revision;
        this.changeList = changeList;
    }
}
